using System;
using System.Collections.Generic;
using System.Text;

namespace Vectores
{
    class Vector
    {
        private int x;

        public int X
        {
            get { return x; }
            set { x = value; }
        }

        private int y;

        public int Y
        {
            get { return y; }
            set { y = value; }
        }
        public Vector(int x, int y) {
            this.x = x;
            this.y = y;
        }
        public static Vector operator +(Vector v1, Vector v2) {
            Vector c = new Vector(0,0);
            c.X = v1.X + v2.X;
            c.Y = v1.Y + v2.Y;
            return c;
        }
        public Vector suma(Vector v) {
            Vector c = new Vector(0, 0);
            c.X = x + v.X;
            c.Y = y + v.Y;
            return c;
        }
    }
}
